<?php
/**
 * File which holds the old, deprecated, check_mail-function.
 *
 * @author Xander Hoogland <home@xanland.nl>
 * @package Functions
 */
/**
 * Old function for checking mail
 *
 * @deprecated
 * @see cFunctions::checkMail
 *
 * @param string $sEmail
 * @return string
 */
function check_mail($sEmail)
{
	return preg_match ("[A-Za-z0-9_-]+([\.]{1}[A-Za-z0-9_-]+)*@[A-Za-z0-9-]+([\.]{1}[A-Za-z0-9-]+)+", $sEmail);
}
?>